package com.ruoyi.business.service;

import java.util.List;
import org.springframework.data.domain.Page;
import com.ruoyi.business.domain.CustomerContact;

/**
 * customer_contactService接口
 *
 * @author liutietou
 * @since 1.0 2025-07-19
 */
public interface ICustomerContactService  {
    /**
     * 查询customer_contact
     *
     * @param id customer_contactID
     * @return customer_contact
     */
    CustomerContact findById(Integer id);

    /**
     * 分页查询customer_contact列表
     *
     * @param req customer_contact
     * @return customer_contact集合
     */
    Page<CustomerContact> findCustomerContactPage(CustomerContact req);

    /**
     * 查询customer_contact列表
     *
     * @param req customer_contact
     * @return customer_contact集合
     */
    List<CustomerContact> findCustomerContactList(CustomerContact req);

    /**
     * 新增customer_contact
     *
     * @param customerContact customer_contact
     * @return 结果
     */
    void save(CustomerContact customerContact);

    /**
     * 批量删除customer_contact
     *
     * @param ids 需要删除的customer_contactID
     * @return 结果
     */
    void deleteByIds(List<Integer> ids);

    /**
     * 删除customer_contact信息
     *
     * @param id customer_contactID
     * @return 结果
     */
    void deleteCustomerContactById(Integer id);
}
